<template>
    <div>
        <two-ceil></two-ceil>
        支付失败
    </div>
</template>
<script>
export default {
    name:"rechargeSuccess",
    components:{
        twoCeil : resolve => require(["./twoCeil"],resolve),//二级吊顶
        search : resolve => require(["./search/search"], resolve),//搜索输入框
        dropDown : resolve => require(["./index/dropDown"], resolve),//下拉列表
        miniDrop : resolve => require(["./index/miniDrop"], resolve),//小的下拉
        loginRegister : resolve => require(["./loginRegister"], resolve),//登录注册
    },
    methods: {
        errorWarning(msg,n) {
        var This = this;
        this.$message({
                message: msg,
                type: 'error',
                customClass : 'downLoadError',
                duration : 2000,
                showClose : true,
                onClose:function () {
                    if(n){
                        let routeData = This.$router.resolve({ path: '/recharge'});
                        window.open(routeData.href, '_blank');
                    }
                }
            });
        }, 
    }
}
</script>
